.class public Les/ec;
.super Ljava/lang/Object;
.source "DuToast.java"


# direct methods
.method public static a(I)V
    .locals 1

    .line 1
    invoke-static {}, Les/c5;->a()Landroid/content/Context;

    move-result-object v0

    .line 2
    invoke-static {v0, p0}, Les/ec;->a(Landroid/content/Context;I)V

    return-void
.end method

.method public static a(Landroid/content/Context;I)V
    .locals 0
    .param p0    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 5
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p0, p1}, Les/ec;->a(Landroid/content/Context;Ljava/lang/String;)V

    return-void
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;)V
    .locals 1
    .param p0    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    const/4 v0, 0x1

    .line 6
    invoke-static {p0, p1, v0}, Les/ec;->a(Landroid/content/Context;Ljava/lang/String;I)V

    return-void
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;I)V
    .locals 3

    .line 7
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Les/y4;->durec_toast_layout:I

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 8
    sget v1, Les/x4;->durec_toast_msg:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 9
    invoke-virtual {v1, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 10
    invoke-static {p0, v0, p2}, Les/gc;->a(Landroid/content/Context;Landroid/view/View;I)Les/gc;

    move-result-object p0

    invoke-virtual {p0}, Les/gc;->show()V

    return-void
.end method

.method public static a(Ljava/lang/String;)V
    .locals 1

    .line 3
    invoke-static {}, Les/c5;->a()Landroid/content/Context;

    move-result-object v0

    .line 4
    invoke-static {v0, p0}, Les/ec;->a(Landroid/content/Context;Ljava/lang/String;)V

    return-void
.end method

.method public static b(I)V
    .locals 1

    .line 1
    invoke-static {}, Les/c5;->a()Landroid/content/Context;

    move-result-object v0

    .line 2
    invoke-static {v0, p0}, Les/ec;->b(Landroid/content/Context;I)V

    return-void
.end method

.method public static b(Landroid/content/Context;I)V
    .locals 0
    .param p0    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 3
    invoke-virtual {p0, p1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-static {p0, p1}, Les/ec;->b(Landroid/content/Context;Ljava/lang/String;)V

    return-void
.end method

.method public static b(Landroid/content/Context;Ljava/lang/String;)V
    .locals 1
    .param p0    # Landroid/content/Context;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    const/4 v0, 0x0

    .line 4
    invoke-static {p0, p1, v0}, Les/ec;->a(Landroid/content/Context;Ljava/lang/String;I)V

    return-void
.end method
